enum
{
COLUMN_TYPE,
+ COLUMN_TYPE_NAME,
COLUMN_SELF1,
COLUMN_CUMULATIVE1,
COLUMN_SELF2,
{
gtk_list_store_append (GTK_LIST_STORE (sl->priv->model), &treeiter);
gtk_list_store_set (GTK_LIST_STORE (sl->priv->model), &treeiter,
- COLUMN_TYPE, g_type_name (data->type),
+ COLUMN_TYPE, data->type,
+ COLUMN_TYPE_NAME, g_type_name (data->type),
COLUMN_SELF1, data->self1,
COLUMN_CUMULATIVE1, data->cumulative1,
COLUMN_SELF2, data->self2,
<interface domain="gtk30">
<object class="GtkListStore" id="model">
<columns>
+ <column type="GType"/>
<column type="gchararray"/>
<column type="gint"/>
<column type="gint"/>
<child>
<object class="GtkTreeViewColumn">
<property name="visible">True</property>
- <property name="sort-column-id">0</property>
+ <property name="sort-column-id">1</property>
<property name="title" translatable="yes">Type</property>
<child>
<object class="GtkCellRendererText">
<property name="scale">0.8</property>
</object>
<attributes>
- <attribute name="text">0</attribute>
+ <attribute name="text">1</attribute>
</attributes>
</child>
</object>
<child>
<object class="GtkTreeViewColumn" id="column_self1">
<property name="visible">False</property>
- <property name="sort-column-id">1</property>
+ <property name="sort-column-id">2</property>
<property name="title" translatable="yes">Self 1</property>
<child>
<object class="GtkCellRendererText" id="renderer_self1">
<child>
<object class="GtkTreeViewColumn" id="column_cumulative1">
<property name="visible">False</property>
- <property name="sort-column-id">2</property>
+ <property name="sort-column-id">3</property>
<property name="title" translatable="yes">Cumulative 1</property>
<child>
<object class="GtkCellRendererText" id="renderer_cumulative1">
<child>
<object class="GtkTreeViewColumn" id="column_self2">
<property name="visible">False</property>
- <property name="sort-column-id">3</property>
+ <property name="sort-column-id">4</property>
<property name="title" translatable="yes">Self 2</property>
<child>
<object class="GtkCellRendererText" id="renderer_self2">
<child>
<object class="GtkTreeViewColumn" id="column_cumulative2">
<property name="visible">False</property>
- <property name="sort-column-id">4</property>
+ <property name="sort-column-id">5</property>
<property name="title" translatable="yes">Cumulative 2</property>
<child>
<object class="GtkCellRendererText" id="renderer_cumulative2">